
#######################################################资金三期##############################################################
# 1 索引别名处理
# 1.2 客户对账单索引
#编写者 zcp
curl  http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/formDataMapping -X POST -H 'Content-type: application/json' -d '{"frontDev":"1","xbbCode":123456,"corpid": "1","userId" : "1","platform":"web","saasMark":1,"businessType":5401}'
curl  http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/formDataMapping -X POST -H 'Content-type: application/json' -d '{"frontDev":"1","xbbCode":123456,"corpid": "1","userId" : "1","platform":"web","saasMark":1,"businessType":5403}'
# 加别名
curl  http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/addAlias  -X POST -H 'Content-type: application/json' -d '{"userId":"1","corpid":"1","platform":"web","xbbCode":"123456","saasMark":1,"businessType":5401}'
curl  http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/addAlias  -X POST -H 'Content-type: application/json' -d '{"userId":"1","corpid":"1","platform":"web","xbbCode":"123456","saasMark":1,"businessType":5403}'
# 1.3 在线支付流水相关索引
#编写者 zcp
curl  http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/formDataMapping -X POST -H 'Content-type: application/json' -d '{"frontDev":"1","xbbCode":123456,"corpid": "1","userId" : "1","platform":"web","saasMark":1,"businessType":5600}'
# 加别名
curl  http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/addAlias  -X POST -H 'Content-type: application/json' -d '{"userId":"1","corpid":"1","platform":"web","xbbCode":"123456","saasMark":1,"businessType":5600}'


#######################################################经销商##############################################################
# 经销商账号初始化mapping
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/formDataMapping -X POST -H 'Content-type: application/json' -d '{"xbbCode":"123456","userId":"1","corpid": "1","platform":"web","frontDev":"1","saasMark":1,"businessType":9500,"byCorpid":0}'
# 经销商账号索引加别名
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/addAlias -X POST -H 'Content-type: application/json' -d '{"xbbCode":"123456","userId":"1","corpid": "1","platform":"web","frontDev":"1","saasMark":1,"businessType":9500,"byCorpid":0}'

# 信用管理相关表单mapping
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/formDataMapping -X POST -H 'Content-type: application/json' -d '{"xbbCode":"123456","userId":"1","corpid": "1","platform":"web","frontDev":"1","saasMark":1,"businessType":5510,"byCorpid":0}'
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/formDataMapping -X POST -H 'Content-type: application/json' -d '{"xbbCode":"123456","userId":"1","corpid": "1","platform":"web","frontDev":"1","saasMark":1,"businessType":5520,"byCorpid":0}'
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/formDataMapping -X POST -H 'Content-type: application/json' -d '{"xbbCode":"123456","userId":"1","corpid": "1","platform":"web","frontDev":"1","saasMark":1,"businessType":5530,"byCorpid":0}'
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/formDataMapping -X POST -H 'Content-type: application/json' -d '{"xbbCode":"123456","userId":"1","corpid": "1","platform":"web","frontDev":"1","saasMark":1,"businessType":5540,"byCorpid":0}'
# 信用管理相关表单索引加别名
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/addAlias -X POST -H 'Content-type: application/json' -d '{"xbbCode":"123456","userId":"1","corpid": "1","platform":"web","frontDev":"1","saasMark":1,"businessType":5510,"byCorpid":0}'
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/addAlias -X POST -H 'Content-type: application/json' -d '{"xbbCode":"123456","userId":"1","corpid": "1","platform":"web","frontDev":"1","saasMark":1,"businessType":5520,"byCorpid":0}'
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/addAlias -X POST -H 'Content-type: application/json' -d '{"xbbCode":"123456","userId":"1","corpid": "1","platform":"web","frontDev":"1","saasMark":1,"businessType":5530,"byCorpid":0}'
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/addAlias -X POST -H 'Content-type: application/json' -d '{"xbbCode":"123456","userId":"1","corpid": "1","platform":"web","frontDev":"1","saasMark":1,"businessType":5540,"byCorpid":0}'

# 营销管理相关表单mapping
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/formDataMapping -X POST -H 'Content-type: application/json' -d '{"xbbCode":"123456","userId":"1","corpid": "1","platform":"web","frontDev":"1","saasMark":1,"businessType":9003,"byCorpid":0}'
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/formDataMapping -X POST -H 'Content-type: application/json' -d '{"xbbCode":"123456","userId":"1","corpid": "1","platform":"web","frontDev":"1","saasMark":1,"businessType":9007,"byCorpid":0}'
# 营销管理表单索引加别名
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/addAlias -X POST -H 'Content-type: application/json' -d '{"xbbCode":"123456","userId":"1","corpid": "1","platform":"web","frontDev":"1","saasMark":1,"businessType":9003,"byCorpid":0}'
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/addAlias -X POST -H 'Content-type: application/json' -d '{"xbbCode":"123456","userId":"1","corpid": "1","platform":"web","frontDev":"1","saasMark":1,"businessType":9007,"byCorpid":0}'


#######################################################资金paas化##############################################################
# 1 索引、别名
# 可重复执行
# 编写者 张传鹏
# codeReview者
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/formDataMapping -X POST -H 'Content-type: application/json' -d '{"frontDev":"1","xbbCode":123456,"corpid": "1","userId" : "1","platform":"web","saasMark":1,"businessType":5710}'
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/formDataMapping -X POST -H 'Content-type: application/json' -d '{"frontDev":"1","xbbCode":123456,"corpid": "1","userId" : "1","platform":"web","saasMark":1,"businessType":5750}'
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/formDataMapping -X POST -H 'Content-type: application/json' -d '{"frontDev":"1","xbbCode":123456,"corpid": "1","userId" : "1","platform":"web","saasMark":1,"businessType":5800}'
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/addAlias  -X POST -H 'Content-type: application/json' -d '{"userId":"1","corpid":"1","platform":"web","xbbCode":"123456","saasMark":1,"businessType":5710}'
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/addAlias  -X POST -H 'Content-type: application/json' -d '{"userId":"1","corpid":"1","platform":"web","xbbCode":"123456","saasMark":1,"businessType":5750}'
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/addAlias  -X POST -H 'Content-type: application/json' -d '{"userId":"1","corpid":"1","platform":"web","xbbCode":"123456","saasMark":1,"businessType":5800}'
